package com.codejiwei.flink.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.flink.calcite.shaded.com.fasterxml.jackson.annotation.JsonProperty;

/**
 * @author jiwei
 * @description
 * @date 2023/9/13 14:20
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Methane implements Standard{
    @JsonProperty(value = "device_id")  //设备编号
    private String deviceId;

    @JsonProperty(value = "device_name")    //设备名称
    private String deviceName;

    @JsonProperty(value = "concentration")
    private String concentration;   //甲烷浓度值

    private String  timestamp;   //消息时间戳，精确到秒
}
